package com.lotter.model.admin;

import java.io.Serializable;

/**
 * 后台用户登录后的回话信息
 * 
 * @author panguixiang
 * @version $Id: AdminSession.java, v 0.1 2016年1月8日 上午10:05:05  Exp $
 */
public class AdminSession implements Serializable {

    /**  */
    private static final long serialVersionUID = -1414454130691152086L;
    private int              id;                                      //主键ID，自增长
    private String            nickName;                                //昵称
    private String            username;                                //登录用户名
    private String            lastLoginIp;                             //最后登录IP
    private String            lastLoginTime;                           //登录时间
    private Integer           roleids;                                 //此用户关联的角色权限
    private String            roleName;

    /**
     * Getter method for property <tt>id</tt>.
     * 
     * @return property value of id
     */
    public int getId() {
        return id;
    }

    /**
     * Setter method for property <tt>id</tt>.
     * 
     * @param id value to be assigned to property id
     */
    public void setId(int id) {
        this.id = id;
    }

    /**
     * Getter method for property <tt>nickName</tt>.
     * 
     * @return property value of nickName
     */
    public String getNickName() {
        return nickName;
    }

    /**
     * Setter method for property <tt>nickName</tt>.
     * 
     * @param nickName value to be assigned to property nickName
     */
    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

    /**
     * Getter method for property <tt>username</tt>.
     * 
     * @return property value of username
     */
    public String getUsername() {
        return username;
    }

    /**
     * Setter method for property <tt>username</tt>.
     * 
     * @param username value to be assigned to property username
     */
    public void setUsername(String username) {
        this.username = username;
    }

    /**
     * Getter method for property <tt>lastLoginIp</tt>.
     * 
     * @return property value of lastLoginIp
     */
    public String getLastLoginIp() {
        return lastLoginIp;
    }

    /**
     * Setter method for property <tt>lastLoginIp</tt>.
     * 
     * @param lastLoginIp value to be assigned to property lastLoginIp
     */
    public void setLastLoginIp(String lastLoginIp) {
        this.lastLoginIp = lastLoginIp;
    }

    /**
     * Getter method for property <tt>lastLoginTime</tt>.
     * 
     * @return property value of lastLoginTime
     */
    public String getLastLoginTime() {
        return lastLoginTime;
    }

    /**
     * Setter method for property <tt>lastLoginTime</tt>.
     * 
     * @param lastLoginTime value to be assigned to property lastLoginTime
     */
    public void setLastLoginTime(String lastLoginTime) {
        this.lastLoginTime = lastLoginTime;
    }

    /**
     * Getter method for property <tt>roleids</tt>.
     * 
     * @return property value of roleids
     */
    public Integer getRoleids() {
        return roleids;
    }

    /**
     * Setter method for property <tt>roleids</tt>.
     * 
     * @param roleids value to be assigned to property roleids
     */
    public void setRoleids(Integer roleids) {
        this.roleids = roleids;
    }

    /**
     * Getter method for property <tt>roleName</tt>.
     * 
     * @return property value of roleName
     */
    public String getRoleName() {
        return roleName;
    }

    /**
     * Setter method for property <tt>roleName</tt>.
     * 
     * @param roleName value to be assigned to property roleName
     */
    public void setRoleName(String roleName) {
        this.roleName = roleName;
    }

}
